package com.yuji.aacar.controller.main;

import android.os.Bundle;

import com.yuji.aacar.R;
import com.yuji.aacar.base.BaseActivity;
import com.yuji.aacar.core.cores.services.CoreServiceResponse;

import butterknife.ButterKnife;

public class MainActivity extends BaseActivity {

    private MainActivityVM vm;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
//        TaskManager.getInstance().doTask(coreBaseViewModel, "login", BaseServiceParams.login("13764799336", "123456"));
    }

    @Override
    public void alreadyBindBaseViewModel() {
        super.alreadyBindBaseViewModel();
        vm = (MainActivityVM) coreBaseViewModel;
    }

    @Override
    public void requestFailed(CoreServiceResponse response) {

    }

    @Override
    public void requestSuccess(CoreServiceResponse response) {
        super.requestSuccess(response);
    }
}
